package caiziyou.com.designpattern.adapter.springmvc;

public class HTTPHandlerAdapter implements HandlerAdapter {

	@Override
	public boolean supports(Controller controller) {
		
		return (controller instanceof HttpController);
	}

	@Override
	public void handle(Controller controller) {
		((HttpController)controller).dohttpcontroller();
	}

}
